/* 
 * File:   DirCommand.h
 * Author: Bram
 *
 * Created on January 21, 2013, 11:36 PM
 */

#ifndef DIRCOMMAND_H
#define	DIRCOMMAND_H

#include "Command.h"

class DirCommand : public Command
{
public:
    DirCommand();
    DirCommand(const char *);
    virtual ~DirCommand();
    Command* createNew();
    bool isValid();
    void ExcecuteServerReceiveCommand(TcpSocket* dasSocket, queue<Command *>& commandQueue);
    void ExcecuteServerSendCommand(TcpSocket* dasSocket, queue<Command *>& commandQueue);
    
    void ExcecuteClientReceiveCommand(TcpSocket* dasSocket, queue<Command *>& commandQueue);
    void ExcecuteClientSendCommand(TcpSocket* dasSocket, queue<Command *>& commandQueue);
    
    
private:
    static DirCommand cInstance;
};

#endif	/* DIRCOMMAND_H */

